// let COMPANY = {
//     "phone": "028-99999000",
//     "logo": "../imgages/logo_g0yv.jpg",
//     "net": "admin.com",
//     "email": "admin@ 163.com",
//     "linePhone": "028-80000000",
//     "address": "四川省成都市孵化园",
//     "version": "Copyright @ 2009-2011.ww.xxxxx.com,All rights rescrved"
// };//赋值

//常量必须赋初始值
// $(function () {
//     setCompanyFootData();
// });

function setCompanyFootData(data) {
    // document.getElementById("net").innerHTML = " 网址:" + COMPANY.net;
    $("#net").html(" 网址:" + data.net);
    //html和val（）的区别？
    //innerHTML和innerText的区别？innerText一般用于input表单
    document.getElementById("email").innerHTML = "邮箱:" + data.email;
    //字符串拼接
    // $("#aa").html("aaaaaaaaaaaaaaaa");
    document.getElementById("linePhone").innerHTML = "联系电话: " + data.linePhone + "(座机)";
    document.getElementById("address").innerHTML = " 联系地址:" + data.address;
    document.getElementById("version").innerHTML = " 网址:" + data.version;
}